const express = require('express')
const router = express.Router()
const { insert, list } = require("../../controllers/setting/menu")
const { validateMenuInsert } = require('./validators/validateMenuInsert')
const { validateMenuList } = require('./validators/validateMenuList')

router.post('/insert', validateMenuInsert, insert)
router.post('/list', validateMenuList, list)

module.exports = router